var express = require('express');
var app = express();
app.engine('art', require('express-art-template'));
app.set('view options', {
    debug: process.env.NODE_ENV !== 'production'
});
console.log(process.env.NODE_ENV);
app.get('/', function(req, res) {
    res.render('index.art', {
        title: 'wayn',
        person: {
            name: 'tom',
            age: 22
        }
    });
});
app.listen(3000, () => console.log('Example app listening on port 3000!'));
